package com.korion.android.devicedemon.push

interface PushAPI {
    fun getAccessToken(appId: String, appSecret: String): AccessTokenModel?
    fun pushTextMessage(accessToken: String, openId: String, message: String): BaseModel?

    companion object {
        fun getImpl(): PushAPI {
            synchronized(PushAPI::class.java) {
                return PushImpl.sImpl
            }
        }
    }
}